package com.vhall.component.controller.account.facade;

import com.vhall.component.entity.account.vo.AuthLoginRspVO;
import com.vhall.component.entity.account.vo.WhiteLoginVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author lsl    /v4/account/white-login    白名单登录
 * @since 2021/6/25 17:33
 */
@Api(tags = "WhiteAuthFacade", value = "白名单用户")
@FeignClient(value = "WhiteAuthFacade", path = "/v4/account")
public interface WhiteAuthFacade {

    /**
     * 白名单登陆
     *
     * @param authLoginVO 参数
     * @return 返回值
     */
    @PostMapping("/white-login")
    AuthLoginRspVO whiteLogin(@Validated WhiteLoginVO authLoginVO);
}
